import ilog.concert.IloException;

import java.io.IOException;
import java.util.ArrayList;

public class main {
    public static void main(String[] args) throws IloException, IOException {
        paramsOrder order = new paramsOrder();
        order.initOrder("dataset/order1_.txt");
        paramsCustomer customer = new paramsCustomer();
        customer.initCustomer("dataset/customer_.txt");
        benders bd = new benders(order,customer);
        bd.bendersModel();
//        int timeNumber = 1;
//        int[] cus;
//        cus = new int[25];
//        cus[0] = 0;
//        for(int i = 1;i<24;i++){
//            cus[i] = i;
//        }
//        cus[24] = 0;
//        paramsVRP VRP = new paramsVRP(timeNumber,cus,order,customer);
//        VRP.initVRP();
//        branchandbound bp = new branchandbound();
//        ArrayList<paramsRoute> initRoutes = new ArrayList<paramsRoute>();
//        ArrayList<paramsRoute> bestRoutes = new ArrayList<paramsRoute>();
//        bp.BBNode(VRP, initRoutes,bestRoutes,null, 0);
    }
}
